﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NENAData.Factory;
using NENAData.LINQ;

namespace NENAData.DLC.PayPal
{
    class Cart
    {


        private static MembershipDataContext GetMembershipDB()
        {
            var x = new SQLMembership();
            return x.GetMembershipDB();
        }

        //public void CreateNENACart(int intTranactionPaymentID, int intTransactionID)
        //{
        //    MembershipDataContext db = GetMembershipDB();

        //    TransactionCart NENACart = new TransactionCart
        //    {
        //        TransactionPaymentID = intTranactionPaymentID,
        //        TransactionID = intTranactionPaymentID
        //    };

        //    db.TransactionCarts.InsertOnSubmit(NENACart);
        //    db.SubmitChanges();

        //}

    }
}
